package com.gym.emp.entity;

import java.io.Serializable;

/**
 * @author ming
 * 2021/11/18
 * description:
 */
public class Dept implements Serializable {
    private int dno;
    private int dname;

    @Override
    public String toString() {
        return "Dept{" +
                "dno=" + dno +
                ", dname=" + dname +
                '}';
    }

    public Dept() {
    }

    public Dept(int dno, int dname) {
        this.dno = dno;
        this.dname = dname;
    }

    public int getDno() {
        return dno;
    }

    public void setDno(int dno) {
        this.dno = dno;
    }

    public int getDname() {
        return dname;
    }

    public void setDname(int dname) {
        this.dname = dname;
    }
}
